/*
 * Copyright (c) 2017 22420103@QQ.COM 版权所有
 */
package com.lehe.service.impl;

import com.lehe.common.Contants;
import com.lehe.common.exceptions.LHServiceException;
import com.lehe.entry.wx.message.RespBaseMessage;
import com.lehe.entry.wx.message.RespUserOpenIdMessage;
import org.springframework.stereotype.Service;

/**
 * 微信网页授权openid<br>
 *
 * @author 王丹
 * @FileName QueryUserOpenIdExecuteService.java<br>
 * @Language Java<br>
 * @date 2016-01-27<br>
 */
@Service("queryUserOpenIdExecuteService")
public class QueryUserOpenIdExecuteService extends WeChatGetExecuteService{
	@Override
	protected String queryRequestUrl() throws LHServiceException {
		return Contants.WE_USER_OPENID;
	}

	@Override
	protected RespBaseMessage convertRespMessage(String respHtml)
			throws LHServiceException {
		 return super.convertRespJson(respHtml, RespUserOpenIdMessage.class);
	}

}
